.card-container {
  position: relative;
  width: 100%;
  height: 100%;
  ::ng-deep {
    img {
      max-width: 100%;
      object-fit: cover;
    }
    iframe {
      width: 100%;
    }
  }
  .breadcrumb1 {
    padding: 0 0 0 8px;
    font-size: 12px;
    color: #666;
    .slash {
      margin: 0 4px;
    }
  }
  .desc {
    color: rgba(0, 0, 0, 0.5);
    word-break: break-all;
    white-space: pre-wrap;
  }
  .title {
    white-space: normal;
    word-break: break-all;
    color: rgba(0, 0, 0, 0.8);
  }
  .stop-icon {
    z-index: 3;
    color: red;
    font-weight: bold;
    position: absolute;
    top: 12px;
    right: 12px;
  }
}

.progrcode {
  cursor: pointer;
}

.standard {
  $padding: 8px;

  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  padding-top: 5px;
  transition: all 0.2s ease-out;
  background-color: #fff;
  &:hover {
    transform: translate(0, -3px);
  }
  .rate {
    padding: 0 $padding;
  }
  .middle {
    flex: 1;
    padding: 8px 8px 0;
  }
  .top {
    margin-top: 5px;
    display: flex;
    align-items: center;
    padding: 0 $padding;
    .title {
      margin-left: $padding;
      font-weight: 500;
      font-size: 15px;
    }
  }
  .desc {
    padding-bottom: 5px;
    font-size: 13px;
  }
  .actionbar {
    display: flex;
    border-top: 1px solid #eee;
    padding: 8px 0;
    margin-top: 10px;
    .action-item {
      justify-content: center;
      flex: 1;
      font-size: 16px;
      color: #999;
      cursor: pointer;
      &:hover {
        color: #1890ff;
      }
      &:not(:nth-last-child(1)) {
        border-right: 1px solid #eee;
      }
    }
  }
}

.example2 {
  background-color: #fff;
  padding: 8px 8px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  transition: all 0.15s linear;
  color: #000;
  display: block;
  &:hover {
    border: 1px solid #78b7fa;
    transform: translateY(-3px);
    .title {
      color: #007bff;
    }
  }
  &.noDesc {
    .title {
      font-size: 16px;
    }
  }
  .title {
    width: 100%;
    font-weight: 500;
    line-height: 18px;
  }
  .breadcrumb1 {
    padding: 0 0 4px 0;
  }
  .wrapper {
    display: flex;
  }
  .right-box {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    width: 0;
    margin-left: 12px;
  }
  .desc {
    width: 100%;
    margin: 0;
    font-size: 12px;
  }
}

.original2 {
  background-color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  transition: all 0.15s linear;
  color: #000;
  display: block;
  &:hover {
    border: 1px solid #78b7fa;
    transform: translateY(-3px);
    .title {
      color: #007bff;
    }
  }
  .title {
    width: 100%;
    font-weight: 500;
  }
  .breadcrumb1 {
    padding: 0 0 4px 0;
  }
  .wrapper {
    display: flex;
  }
  .right-box {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    width: 0;
    margin-left: 12px;
  }
}

// 其他主题下卡片不明显
::ng-deep .column-border {
  .column2 {
    border: 1px solid transparent !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }
}
.column2 {
  background-color: #fff;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  transition: all 0.15s linear;
  color: #000;
  display: block;
  .breadcrumb1 {
    padding: 0 0 4px 0;
  }
  &:hover {
    background-color: #f2f3f5;
    .action-btn {
      display: block;
    }
  }
  .title-bar {
    display: flex;
    align-items: center;
  }
  .right-box {
    margin-top: 6px;
  }
  .title {
    font-weight: 500;
    margin-left: 10px;
    font-size: 15px;
  }
  .desc {
    margin: 0;
    font-size: 12px;
  }
  .bottom-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
  }
  .rate2 {
    color: #8a919f;
    margin-right: 10px;
  }
  .actions {
    display: flex;
    gap: 4px;
    margin-left: 4px;
  }
  .action-btn {
    color: #8a919f;
    font-size: 12px;
    display: none;
    cursor: pointer;
    &:hover {
      color: #666;
    }
  }
}

::ng-deep {
  .gutter-row .ant-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

// retro
.retro2 {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  transition: transform 0.1s linear;
  &:hover {
    transform: translate(0, -3px);
  }
  .item-list {
    z-index: 111;
    position: relative;
    overflow: hidden;
  }
  .title {
    font-size: 14px;
    margin-left: 4px;
    font-weight: 500;
  }

  .desc {
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
    font-size: 12px;
    margin: 5px 0;
  }

  .top {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
  }
}
